<template>
  <div>
    <h3>个人中心</h3>
    <el-card class="box-card">
        {{ wenhou }}
    </el-card>
  </div>
</template>

<script>
import Axios from "axios";
export default {
  name: "",
  data() {
    return {
      wenhou: "",
    };
  },
  props: {},

  components: {},

  created() {},

  mounted() {
    Axios.get("http://127.0.0.1:8000/api/users/greetings/").then((res) => {
      console.log("res", res);
      this.wenhou = res.data.data.content;
    });
  },

  methods: {},

  computed: {},

  watch: {},

  directives: {},

  filters: {},
};
</script>

<style>
  .box-card {
    width: 480px;
  }
</style>
